using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN DanhHieuKhenThuongEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:26/10/2011 44:05:56</para>
	/// <para>Class Name: DanhHieuKhenThuongEntity</para>
	/// <para>Description: ClassDanhHieuKhenThuongEntity store data of table DanhHieuKhenThuong</para>
	///</summary>

	[DataContract]
	public partial class DanhHieuKhenThuongEntity{


		private bool _InternalChangedIsNullDanhHieuKhenThuong_ID=true;
		private bool _IsNullDanhHieuKhenThuong_ID=true;
		private bool _InternalChangedIsNullMaDanhHieu=true;
		private bool _IsNullMaDanhHieu=true;
		private bool _InternalChangedIsNullTenDanhHieu=true;
		private bool _IsNullTenDanhHieu=true;
		private bool _InternalChangedIsNullMoTaDanhHieu=true;
		private bool _IsNullMoTaDanhHieu=true;
		private int _DanhHieuKhenThuong_ID;
		private string _MaDanhHieu;
		private string _TenDanhHieu;
		private string _MoTaDanhHieu;
		[DataMember]
		public bool IsNullDanhHieuKhenThuong_ID{
			get{return _IsNullDanhHieuKhenThuong_ID;}
			set{if(!_InternalChangedIsNullDanhHieuKhenThuong_ID)_IsNullDanhHieuKhenThuong_ID=value;}
		}
		[DataMember]
		public bool IsNullMaDanhHieu{
			get{return _IsNullMaDanhHieu;}
			set{if(!_InternalChangedIsNullMaDanhHieu)_IsNullMaDanhHieu=value;}
		}
		[DataMember]
		public bool IsNullTenDanhHieu{
			get{return _IsNullTenDanhHieu;}
			set{if(!_InternalChangedIsNullTenDanhHieu)_IsNullTenDanhHieu=value;}
		}
		[DataMember]
		public bool IsNullMoTaDanhHieu{
			get{return _IsNullMoTaDanhHieu;}
			set{if(!_InternalChangedIsNullMoTaDanhHieu)_IsNullMoTaDanhHieu=value;}
		}
		[DataMember]
		public int DanhHieuKhenThuong_ID{
			get{return _DanhHieuKhenThuong_ID;}
			set{
				_DanhHieuKhenThuong_ID=value;
				if(_DanhHieuKhenThuong_ID!=null){
					_IsNullDanhHieuKhenThuong_ID=false;
					_InternalChangedIsNullDanhHieuKhenThuong_ID=true;
				}
			}
		}
		[DataMember]
		public string MaDanhHieu{
			get{return _MaDanhHieu;}
			set{
				_MaDanhHieu=value;
				if(_MaDanhHieu!=null){
					_IsNullMaDanhHieu=false;
					_InternalChangedIsNullMaDanhHieu=true;
				}
			}
		}
		[DataMember]
		public string TenDanhHieu{
			get{return _TenDanhHieu;}
			set{
				_TenDanhHieu=value;
				if(_TenDanhHieu!=null){
					_IsNullTenDanhHieu=false;
					_InternalChangedIsNullTenDanhHieu=true;
				}
			}
		}
		[DataMember]
		public string MoTaDanhHieu{
			get{return _MoTaDanhHieu;}
			set{
				_MoTaDanhHieu=value;
				if(_MoTaDanhHieu!=null){
					_IsNullMoTaDanhHieu=false;
					_InternalChangedIsNullMoTaDanhHieu=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END DanhHieuKhenThuongEntityBase*****************************************/
	/*****************************************************************************************************/
}

